package com.ruoyi.system.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 事件对象 public_opinion_events
 * 
 * @author ruoyi
 * @date 2021-06-08
 */
public class PublicOpinionEvents extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 事件编号 */
    private Long eventId;

    /** 生成日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "生成日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** YQ名称 */
    @Excel(name = "YQ名称")
    private String eventTitle;

    /** 使用模板 */
    @Excel(name = "使用模板")
    private Integer useTemplate;

    /** 用户编号 */
    @Excel(name = "用户编号")
    private Long userId;

    /** 部门编号 */
    @Excel(name = "部门编号")
    private Long deptId;

    /** 订阅任务编号 */
    @Excel(name = "订阅任务编号")
    private Long taskId;


    /** 是否置顶 */
    @Excel(name = "是否置顶")
    private Integer topState;

    /** 监测状态 */
    @Excel(name = "监测状态")
    private String eventState;

    /** 查询区域 */
    @Excel(name = "查询区域")
    private String searchArea;

    /** 关键字 */
    @Excel(name = "关键字")
    private String relatedWords;

    /** 舆情词 */
    @Excel(name = "舆情词")
    private String opinionWords;

    /** 排除词 */
    @Excel(name = "排除词")
    private String exclusionWords;

    /** 事件类型 */
    @Excel(name = "事件类型")
    private Long incidentType;

    /** 事件主题 */
    @Excel(name = "事件主题")
    private Long incidentSubject;

    /** 热度指数 */
    @Excel(name = "热度指数")
    @TableField(exist = false)
    private Long hotIndex;

    /** 租户编码 */
    @Excel(name = "租户编码")
    private String tenantCode;

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public Long getHotIndex() {
        return hotIndex;
    }

    public void setHotIndex(Long hotIndex) {
        this.hotIndex = hotIndex;
    }

    public void setEventId(Long eventId)
    {
        this.eventId = eventId;
    }

    public Long getEventId() 
    {
        return eventId;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setEventTitle(String eventTitle) 
    {
        this.eventTitle = eventTitle;
    }

    public String getEventTitle() 
    {
        return eventTitle;
    }
    public void setUseTemplate(Integer useTemplate) 
    {
        this.useTemplate = useTemplate;
    }

    public Integer getUseTemplate() 
    {
        return useTemplate;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTopState(Integer topState) 
    {
        this.topState = topState;
    }

    public Integer getTopState() 
    {
        return topState;
    }
    public void setEventState(String eventState) 
    {
        this.eventState = eventState;
    }

    public String getEventState() 
    {
        return eventState;
    }
    public void setSearchArea(String searchArea) 
    {
        this.searchArea = searchArea;
    }

    public String getSearchArea() 
    {
        return searchArea;
    }
    public void setRelatedWords(String relatedWords) 
    {
        this.relatedWords = relatedWords;
    }

    public String getRelatedWords() 
    {
        return relatedWords;
    }
    public void setOpinionWords(String opinionWords) 
    {
        this.opinionWords = opinionWords;
    }

    public String getOpinionWords() 
    {
        return opinionWords;
    }
    public void setExclusionWords(String exclusionWords) 
    {
        this.exclusionWords = exclusionWords;
    }

    public String getExclusionWords() 
    {
        return exclusionWords;
    }
    public void setIncidentType(Long incidentType) 
    {
        this.incidentType = incidentType;
    }

    public Long getIncidentType() 
    {
        return incidentType;
    }
    public void setIncidentSubject(Long incidentSubject) 
    {
        this.incidentSubject = incidentSubject;
    }

    public Long getIncidentSubject() 
    {
        return incidentSubject;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("eventId", getEventId())
            .append("createdTime", getCreatedTime())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("eventTitle", getEventTitle())
            .append("useTemplate", getUseTemplate())
            .append("userId", getUserId())
            .append("topState", getTopState())
            .append("eventState", getEventState())
            .append("searchArea", getSearchArea())
            .append("relatedWords", getRelatedWords())
            .append("opinionWords", getOpinionWords())
            .append("exclusionWords", getExclusionWords())
            .append("incidentType", getIncidentType())
            .append("incidentSubject", getIncidentSubject())
            .toString();
    }
}
